xfi:concept-data-type-derived-from

xs:boolean=xfi:concept-data-type-derived-from( $concept as xs:QName, $reference-data-type as xs:QName)

Last updated on 26-02-2008 at 00:00:00.

Tests whether one the XML Schema data type of a concept is derived from another XML Schema data type.

OIM Status

Supported

Parameters

Name Type Details
concept xs:QName The QName of the concept whose data type is being tested.
reference-data-type xs:QName The QName of the data type that the candidate concept's data type may or may not be derived from by a sequence of one or more restrictions and/or extensions.

Output

Type: xs:boolean

If the candidate concept's data type is derived by restriction or extension from the reference data type or if the candidate data type is the reference data type, then the function returns true. Otherwise it returns false.

Conformance suite

90205 xfi.concept-data-type-derived-from testcase.xml [ download ]

Owners

Name Affiliation Email Start End
Geoff Shuetrim Galexy geoff@galexy.net 20-02-2008 at 10:06:00

Revisions

Name On Details
Geoff Shuetrim 20-02-2008 at 10:12:00 Created the function definition.